import Vue from "vue"
import Vuex from "vuex"

import mutations from "@/store/mutations"
import actions from "@/store/actions"
import getters from "@/store/getters"


Vue.use(Vuex);

const state = {
  currentMenuOpenKeys: [],
  userInfo: null,
  // 是否过期的会话, true| false
  expireSession: false,
};

export default new Vuex.Store({
  state,
  mutations,
  actions,
  getters

});
